package com.xbongbong.pro.rabbitmq.binders;

import com.xbongbong.pro.rabbitmq.constant.MarketingManagementBinderConstant;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Service;

@Service("marketingManagementProducerBinder")
public interface MarketingManagementProducerBinder {

    @Output(MarketingManagementBinderConstant.MARKETING_MANAGEMENT_OUTPUT)
    MessageChannel marketingManagementOutput();

    @Output(MarketingManagementBinderConstant.PROMOTION_MANAGEMENT_OUTPUT)
    MessageChannel promotionManagementOutput();

    @Output(MarketingManagementBinderConstant.DISTRIBUTOR_MARKETING_MANAGEMENT_OUTPUT)
    MessageChannel distributorMarketingManagementOutput();

    @Output(MarketingManagementBinderConstant.DISTRIBUTOR_PROMOTION_MANAGEMENT_OUTPUT)
    MessageChannel distributorPromotionManagementOutput();

    @Output(MarketingManagementBinderConstant.DISTRIBUTOR_COUPON_OUTPUT)
    MessageChannel distributorCouponOutput();


}
